package com.example.demo.entity;

import lombok.Data;

@Data
public class ResponseJson {
    private String code;//状态码
    private String msg;//消息
    private Object data;//数据

    public ResponseJson(){}

    public ResponseJson(String code,String msg,Object data){
        this.code=code;
        this.msg=msg;
        this.data=data;
    }

    public ResponseJson(String code,String msg){
        this.code=code;
        this.msg=msg;
    }
}
